(function($){

	function switchTheTheme(options) {
		var d=new Date();
				
		if (d.getHours() > 16 || d.getHours() < 6) {
			$("body").css( {"color" : options.color, "background-color" : options.backgroundcolor});
		};	
	}

	$.editions = function(options) {
	
		var defaults = {
			color : "#ffffff",
			backgroundcolor : "#000000"
		};
		var options = $.extend(defaults, options);
		
		switchTheTheme(options);
	};
	
	$.fn.text = function() {  
  
		return this.each(function() {
			var $this = $(this);
			 $this.css("display","none");
		});  
	};  
	
})(jQuery);